package com.itheima.service;

import com.itheima.pojo.File;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface FileService {
    /**
     * 通过fileIds过去信息接口
     *
     * @param fileIds
     * @param code
     * @return
     */
    List<File> getPicture(String fileIds, String code);

    /**
     * 多图片上传
     *
     * @param request
     * @param filedatas
     * @return
     */
    List<File> pictures(HttpServletRequest request, List<MultipartFile> filedatas);
}
